/*
 * Copyright (C) 2009 Otávio Scherer Garcia
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.googlecode.technorati4j;

/**
 * Exception to use when an error occurs while processing technorati APIs.
 * 
 * @author Otávio Scherer Garcia
 * @version $Revision$
 */
public final class TechnoratiApiException
    extends Exception {

    private static final long serialVersionUID = -7425535338980251991L;

    /**
     * Constructs a new exception with <code>null</code> as its detail message.
     */
    public TechnoratiApiException() {
        super();
    }

    /**
     * Constructs a new exception with the specified detail message and cause.
     * 
     * @param message The detail message.
     * @param cause The cause.
     */
    public TechnoratiApiException(String message, Throwable cause) {
        super(message, cause);
    }

    /**
     * Constructs a new exception with the specified detail message.
     * 
     * @param message The detail message.
     */
    public TechnoratiApiException(String message) {
        super(message);
    }

    /**
     * Constructs a new exception with the specified cause and a detail message.
     * 
     * @param cause The cause.
     */
    public TechnoratiApiException(Throwable cause) {
        super(cause);
    }
}
